package com.bytenebula.asteroid.service.impl;

import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.bytenebula.entity.BnWord;
import com.bytenebula.asteroid.mapper.BnWordsMapper;
import com.bytenebula.asteroid.service.BnWordsService;
import org.springframework.stereotype.Service;

/**
 *  服务层实现。
 *
 * @author patrick
 * @since 2024-10-30
 */
@Service
public class BnWordsServiceImpl extends ServiceImpl<BnWordsMapper, BnWord> implements BnWordsService {

    @Override
    public BnWord getOneWithRelationById(Integer id) {
        return mapper.selectOneWithRelationsById(id);
    }
}
